﻿using SignalRHubs.Application.Hubs.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SignalRHubs.Application.Hubs.Dto
{
    public class ChatRoomMessage
    {
        public ChatRoomMessage()
        {
            DateTime = DateTimeOffset.Now;
        }
        public string FromGroupId { get; set; }
        public string FromConnectionId { get; set; }
        public string ToGroupId { get; set; }
        public string ToConnectionId { get; set; }

        public MessageType Type { get; set; }
        public dynamic Message { get; set; }
        public DateTimeOffset DateTime { get; set; }


        public ChatUserDto ChatUser { get; set; }



    }
}
